package com.qly.mybatis.mysql.service.impl;

import com.qly.mybatis.mysql.dao.mapper.WdUserMapper;
import com.qly.mybatis.mysql.entity.WdUser;
import com.qly.mybatis.mysql.service.IWdUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Andy ye on 2018/8/9.
 */

@Service("wdUserService")
public class WdUserServiceImpl implements IWdUserService {

    @Autowired
    private WdUserMapper wdUserMapper;

    @Override
    public List<WdUser> findUserAll() {
        List<WdUser> wdUserList = wdUserMapper.selectAll();
        return wdUserList;
    }

}
